﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ENTITY;
using BUS;

public partial class AddMonOc : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btn_submit_Click(object sender, EventArgs e)
    {
        EntMonOc entity = new EntMonOc();
        entity.Tenmo = ddl_LoaiOc.SelectedItem.Text;
        entity.Chitietmo = ddl_KichCo.SelectedItem.Text;
        ABusAdd bus = new ABusAdd();
        bus.AddMonOc(entity);
        Response.Redirect("AddChiTietMonOc.aspx",false);
    }
}
